package com.lufei.message_system.Data.QuestionVD;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "问题视图对象")
public class QuestionVO {
    @Schema(description = "问题ID", example = "1")
    private Long id;

    @Schema(description = "问题内容", example = "你更喜欢哪种活动？")
    private String content;

    @Schema(description = "维度", example = "EI",
            allowableValues = {"EI", "SN", "TF", "JP"})
    private String dimension;

    @Schema(description = "选项A文本", example = "参加派对，与很多人交流")
    private String optionA;

    @Schema(description = "选项B文本", example = "独自看书或看电影")
    private String optionB;

    // A选项各维度得分（0-1分）
    @Schema(description = "A选项的外向(E)得分", example = "1")
    private Integer aEScore;

    @Schema(description = "A选项的内向(I)得分", example = "1")
    private Integer aIScore;

    @Schema(description = "A选项的实感(S)得分", example = "1")
    private Integer aSScore;

    @Schema(description = "A选项的直觉(N)得分", example = "1")
    private Integer aNScore;

    @Schema(description = "A选项的思考(T)得分", example = "1")
    private Integer aTScore;

    @Schema(description = "A选项的情感(F)得分", example = "1")
    private Integer aFScore;

    @Schema(description = "A选项的判断(J)得分", example = "1")
    private Integer aJScore;

    @Schema(description = "A选项的感知(P)得分", example = "1")
    private Integer aPScore;

    // B选项各维度得分（0-5分）
    @Schema(description = "B选项的外向(E)得分", example = "1")
    private Integer bEScore;

    @Schema(description = "B选项的内向(I)得分", example = "1")
    private Integer bIScore;

    @Schema(description = "B选项的实感(S)得分", example = "1")
    private Integer bSScore;

    @Schema(description = "B选项的直觉(N)得分", example = "1")
    private Integer bNScore;

    @Schema(description = "B选项的思考(T)得分", example = "1")
    private Integer bTScore;

    @Schema(description = "B选项的情感(F)得分", example = "1")
    private Integer bFScore;

    @Schema(description = "B选项的判断(J)得分", example = "1")
    private Integer bJScore;

    @Schema(description = "B选项的感知(P)得分", example = "1")
    private Integer bPScore;

    @Schema(description = "题目创建时间", example = "2023-05-15T08:30:00")
    private Date createTime;
}